package svgedit.gui.commands;


/**
 * A command interface that defines the methods needed in a sub-command
 * @author SARJ
 *
 */
public interface Command
{	
	/**
	 * Fire the command's undo actions
	 * This is fired when the user clicks Undo (Ctrl-Z)
	 */
	public void executeUndo();
	
	/**
	 * Fire the command's redo action or is the commands first time run,
	 * typically fired automatically when added or unless specified otherwise
	 */
	public void executeRedo();	

}
